package mylibrary.thread.produce_consume.another;

public class Restaurant1 {

	public synchronized void cook() {
		
		System.out.println("Meal is ready!");
		
	}
	
	public synchronized void sendMeal() {
		System.out.println("Meal is sent!");
	}
	
}
